package com.shop.cereshop.admin.service.sos;

import com.shop.cereshop.admin.param.sos.SosPhoneIdParam;
import com.shop.cereshop.admin.param.sos.SosPhoneQueryParam;
import com.shop.cereshop.admin.param.sos.SosPhoneSaveParam;
import com.shop.cereshop.admin.param.sos.SosPhoneUpdateParam;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.sos.CereSosPhone;
import com.shop.cereshop.commons.domain.user.CerePlatformUser;
import com.shop.cereshop.commons.exception.CoBusinessException;

/**
 * 一键急救电话Service
 */
public interface CereSosPhoneService {

    void save(SosPhoneSaveParam param, CerePlatformUser user) throws CoBusinessException;

    void update(SosPhoneUpdateParam param, CerePlatformUser user) throws CoBusinessException;

    void delete(SosPhoneIdParam param, CerePlatformUser user) throws CoBusinessException;

    Page<CereSosPhone> page(SosPhoneQueryParam param) throws CoBusinessException;

    CereSosPhone detail(Long id) throws CoBusinessException;
}

